﻿ @{ 
     System.Data.DataTable dt = new System.Data.DataTable();

     dt = V5.Article.Query_By("*", " and ClassID=2", " AddDateTime desc", 20);
      
}

<table border=1 cellpadding=0 cellspacing=0 width="98%" class="data" >
    <tr>  
        <th>标题</th> 
        <th>操作</th>
    </tr>
    @if (dt != null && dt.Rows.Count > 0)
    {
        int i= 1;
        foreach (System.Data.DataRow item in dt.Rows)
        {   
          <tr>  
            <td style="padding-left:5px" title="@item["Title"]" >@item["Title"]</td> 
            <td align="center">
                <a href="javascript:;" data-id="@item["ID"]" data-title="@item["Title"]"  class="news_item_flow_select">选择</a> 
            </td>
         </tr>  
      }               
    }
</table>  
 




